package com.example.mapper;

import com.example.pojo.PurchaseReceipt;
import com.example.pojo.Sale;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: ljc
 * Date: 2022/07/03 16:09
 * Description:
 * Version: V1.0
 */
@Repository
@Mapper
public interface PrintManageMapper {
    List<PurchaseReceipt> queryRuKuDan(@Param("start") Integer start, @Param("off") Integer off,@Param("medicine_name") String  medicine_name);
    List<Sale> queryChuKuDan(@Param("start") Integer start, @Param("off") Integer off);
    Integer countPurchaseReceipt(String name) ;
}
